cmake_minimum_required(VERSION 3.0.2)
project(visual_control)

find_package(catkin REQUIRED COMPONENTS
  roscpp
  sensor_msgs
  cv_bridge
  image_transport
)

find_package(OpenCV REQUIRED)

catkin_package(
  INCLUDE_DIRS include
  LIBRARIES visual_control
  CATKIN_DEPENDS roscpp sensor_msgs cv_bridge image_transport
  DEPENDS OpenCV
)

include_directories(
  ${catkin_INCLUDE_DIRS}
  ${OpenCV_INCLUDE_DIRS}
)

add_executable(camera_viewer_node src/camera_viewer_node.cpp)
target_link_libraries(camera_viewer_node ${catkin_LIBRARIES} ${OpenCV_LIBRARIES})
